[INFO] cloning repository https://github.com/burbokop/lgh
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/burbokop/lgh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburbokop%2Flgh", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburbokop%2Flgh'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d42738f67c530e616ec403fb0f3c0323e745fae6
[INFO] building burbokop/lgh against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburbokop%2Flgh" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/burbokop/lgh on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/burbokop/lgh
[INFO] finished tweaking git repo https://github.com/burbokop/lgh
[INFO] tweaked toml for git repo https://github.com/burbokop/lgh written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/burbokop/lgh already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a91c2907ad2d81a3ea74bcb197d1a88927b0917792a58367659aca2d636de17a
[INFO] running `Command { std: "docker" "start" "-a" "a91c2907ad2d81a3ea74bcb197d1a88927b0917792a58367659aca2d636de17a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a91c2907ad2d81a3ea74bcb197d1a88927b0917792a58367659aca2d636de17a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a91c2907ad2d81a3ea74bcb197d1a88927b0917792a58367659aca2d636de17a", kill_on_drop: false }`
[INFO] [stdout] a91c2907ad2d81a3ea74bcb197d1a88927b0917792a58367659aca2d636de17a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed4a0ab79389b0e52ac4ce22895275e1de76b8ce2080ae87943053e9a638ba63
[INFO] running `Command { std: "docker" "start" "-a" "ed4a0ab79389b0e52ac4ce22895275e1de76b8ce2080ae87943053e9a638ba63", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.122
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libm v0.2.2
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]    Compiling c_vec v2.0.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling approx v0.4.0
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-complex v0.4.0
[INFO] [stderr]    Compiling vecmat v0.7.7
[INFO] [stderr]    Compiling lgh v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `fleet::Fleet`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use fleet::Fleet;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `scene::Scene`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use scene::Scene;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RenderTarget`
[INFO] [stdout]  --> src/fleet.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sdl2::{render::{RenderTarget, Canvas}, gfx::primitives::DrawRenderer, event::Event, pixels::Color, mouse::MouseButton, ttf::Font, vid...
[INFO] [stdout]   |                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::Dot`
[INFO] [stdout]  --> src/fleet.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use vecmat::{Vector, Complex, prelude::Dot};
[INFO] [stdout]   |                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::gfx`
[INFO] [stdout]  --> src/fleet.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sdl2::gfx;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Weak`, `convert::identity`
[INFO] [stdout]  --> src/scene.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{ops::Deref, rc::{Rc, Weak}, borrow::BorrowMut, cell::{RefCell, RefMut, Ref}, os::unix::prelude::CommandExt, convert::identity};
[INFO] [stdout]   |                                ^^^^                                                                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RenderTarget`
[INFO] [stdout]  --> src/scene.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::{render::{Canvas, RenderTarget}, event::Event, mouse::MouseButton, video::Window, ttf::Font};
[INFO] [stdout]   |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/scenario.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Formation`, `Rotation`
[INFO] [stdout]  --> src/scenario.rs:6:42
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{scene::Scene, fleet::{Fleet, Rotation, Formation}, admiral::Admiral, side::Side};
[INFO] [stdout]   |                                          ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rect::Rect`
[INFO] [stdout]  --> src/graphics.rs:1:44
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sdl2::{render::{RenderTarget, Canvas}, rect::Rect, gfx::primitives::DrawRenderer, pixels::Color, video::Window, ttf::Font};
[INFO] [stdout]   |                                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::gfx`
[INFO] [stdout]  --> src/graphics.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::gfx;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> src/side.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{rc::Rc, cell::{RefCell, Ref}, convert::identity, borrow::BorrowMut};
[INFO] [stdout]   |                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PixelFormat`
[INFO] [stdout]  --> src/math.rs:1:54
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sdl2::{gfx::primitives::ToColor, pixels::{Color, PixelFormat, PixelFormatEnum}};
[INFO] [stdout]   |                                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]   --> src/main.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     'running: loop {
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::distributions::uniform::SampleBorrow`
[INFO] [stdout]  --> src/scene.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::distributions::uniform::SampleBorrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::BorrowMut`
[INFO] [stdout]  --> src/scene.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{ops::Deref, rc::{Rc, Weak}, borrow::BorrowMut, cell::{RefCell, RefMut, Ref}, os::unix::prelude::CommandExt, convert::identity};
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `os::unix::prelude::CommandExt`
[INFO] [stdout]  --> src/scene.rs:2:88
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{ops::Deref, rc::{Rc, Weak}, borrow::BorrowMut, cell::{RefCell, RefMut, Ref}, os::unix::prelude::CommandExt, convert::identity};
[INFO] [stdout]   |                                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::distributions::uniform::SampleBorrow`
[INFO] [stdout]  --> src/side.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::distributions::uniform::SampleBorrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w`
[INFO] [stdout]   --> src/fleet.rs:49:29
[INFO] [stdout]    |
[INFO] [stdout] 49 |                         let w = Rc::downgrade(&c);
[INFO] [stdout]    |                             ^ help: if this is intentional, prefix it with an underscore: `_w`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contrast_side_color`
[INFO] [stdout]    --> src/fleet.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |         let contrast_side_color = contrast_color(side_color);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contrast_side_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scene`
[INFO] [stdout]    --> src/fleet.rs:235:58
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub fn paint(&mut self, canvas: &mut Canvas<Window>, scene: &Scene, font: &Font,  selected: bool) {
[INFO] [stdout]     |                                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `selected`
[INFO] [stdout]    --> src/fleet.rs:304:53
[INFO] [stdout]     |
[INFO] [stdout] 304 |     fn proceed_kinematics(&mut self, scene: &Scene, selected: bool) {
[INFO] [stdout]     |                                                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]    --> src/fleet.rs:371:42
[INFO] [stdout]     |
[INFO] [stdout] 371 |                 Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                          ^^^^^^^^^ help: try ignoring the field: `timestamp: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]    --> src/fleet.rs:371:53
[INFO] [stdout]     |
[INFO] [stdout] 371 |                 Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                     ^^^^^^^^^ help: try ignoring the field: `window_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `which`
[INFO] [stdout]    --> src/fleet.rs:371:64
[INFO] [stdout]     |
[INFO] [stdout] 371 |                 Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                                ^^^^^ help: try ignoring the field: `which: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clicks`
[INFO] [stdout]    --> src/fleet.rs:371:82
[INFO] [stdout]     |
[INFO] [stdout] 371 |                 Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                                                  ^^^^^^ help: try ignoring the field: `clicks: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]    --> src/fleet.rs:383:40
[INFO] [stdout]     |
[INFO] [stdout] 383 |                 Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                        ^^^^^^^^^ help: try ignoring the field: `timestamp: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]    --> src/fleet.rs:383:51
[INFO] [stdout]     |
[INFO] [stdout] 383 |                 Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                   ^^^^^^^^^ help: try ignoring the field: `window_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `which`
[INFO] [stdout]    --> src/fleet.rs:383:62
[INFO] [stdout]     |
[INFO] [stdout] 383 |                 Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                              ^^^^^ help: try ignoring the field: `which: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse_btn`
[INFO] [stdout]    --> src/fleet.rs:383:69
[INFO] [stdout]     |
[INFO] [stdout] 383 |                 Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                                     ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clicks`
[INFO] [stdout]    --> src/fleet.rs:383:80
[INFO] [stdout]     |
[INFO] [stdout] 383 |                 Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                                                ^^^^^^ help: try ignoring the field: `clicks: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/fleet.rs:383:88
[INFO] [stdout]     |
[INFO] [stdout] 383 |                 Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                                                        ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/fleet.rs:383:91
[INFO] [stdout]     |
[INFO] [stdout] 383 |                 Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                                                           ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]    --> src/scene.rs:138:38
[INFO] [stdout]     |
[INFO] [stdout] 138 |             Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                      ^^^^^^^^^ help: try ignoring the field: `timestamp: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]    --> src/scene.rs:138:49
[INFO] [stdout]     |
[INFO] [stdout] 138 |             Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                 ^^^^^^^^^ help: try ignoring the field: `window_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `which`
[INFO] [stdout]    --> src/scene.rs:138:60
[INFO] [stdout]     |
[INFO] [stdout] 138 |             Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                            ^^^^^ help: try ignoring the field: `which: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clicks`
[INFO] [stdout]    --> src/scene.rs:138:78
[INFO] [stdout]     |
[INFO] [stdout] 138 |             Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                                              ^^^^^^ help: try ignoring the field: `clicks: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]    --> src/scene.rs:156:36
[INFO] [stdout]     |
[INFO] [stdout] 156 |             Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                    ^^^^^^^^^ help: try ignoring the field: `timestamp: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]    --> src/scene.rs:156:47
[INFO] [stdout]     |
[INFO] [stdout] 156 |             Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                               ^^^^^^^^^ help: try ignoring the field: `window_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `which`
[INFO] [stdout]    --> src/scene.rs:156:58
[INFO] [stdout]     |
[INFO] [stdout] 156 |             Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                          ^^^^^ help: try ignoring the field: `which: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse_btn`
[INFO] [stdout]    --> src/scene.rs:156:65
[INFO] [stdout]     |
[INFO] [stdout] 156 |             Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                                 ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clicks`
[INFO] [stdout]    --> src/scene.rs:156:76
[INFO] [stdout]     |
[INFO] [stdout] 156 |             Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                                            ^^^^^^ help: try ignoring the field: `clicks: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/scene.rs:156:84
[INFO] [stdout]     |
[INFO] [stdout] 156 |             Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                                                    ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/scene.rs:156:87
[INFO] [stdout]     |
[INFO] [stdout] 156 |             Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => {
[INFO] [stdout]     |                                                                                       ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `group`
[INFO] [stdout]    --> src/side.rs:104:34
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub fn each_group(&mut self, group: &Group, scene: &Scene) {
[INFO] [stdout]     |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_group`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scene`
[INFO] [stdout]    --> src/side.rs:104:49
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub fn each_group(&mut self, group: &Group, scene: &Scene) {
[INFO] [stdout]     |                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_creator`
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let texture_creator = canvas.texture_creator();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_creator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `childs` is never read
[INFO] [stdout]   --> src/fleet.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Parent {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 16 |     pub childs: Vec<Rc<RefCell<Child>>>
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `Parent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `target` is never read
[INFO] [stdout]   --> src/fleet.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct Child {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 32 |     id: String,
[INFO] [stdout] 33 |     target: Option<Weak<RefCell<Child>>>
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Child` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Triangle` is never constructed
[INFO] [stdout]   --> src/fleet.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub enum Formation {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 77 |     Triangle,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `formation` is never read
[INFO] [stdout]    --> src/fleet.rs:118:5
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct Fleet {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 118 |     formation: Formation,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `update` is never used
[INFO] [stdout]   --> src/fleet.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn update(&self) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `update` is never used
[INFO] [stdout]   --> src/fleet.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn update(&mut self, parent: &Parent) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/fleet.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn new(id: String) -> Rc<RefCell<Self>> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_cos` is never used
[INFO] [stdout]   --> src/fleet.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 |     pub fn from_cos(cos: f64) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `dst_to_sqr` is never used
[INFO] [stdout]    --> src/fleet.rs:222:12
[INFO] [stdout]     |
[INFO] [stdout] 222 |     pub fn dst_to_sqr(&self, other: &Fleet) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `update` is never used
[INFO] [stdout]   --> src/admiral.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn update(&mut self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ByStrength` and `MulBoth` are never constructed
[INFO] [stdout]   --> src/side.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum ChooseEnemy {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 10 |     ByStrength,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 11 |     ByGroupStrength,
[INFO] [stdout] 12 |     MulBoth
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChooseEnemy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_scalar` is never used
[INFO] [stdout]   --> src/math.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn add_scalar(value: Vector<f64, 2>, scalar: f64) -> Vector<f64, 2> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `fireVE` should have a snake case name
[INFO] [stdout]    --> src/fleet.rs:124:5
[INFO] [stdout]     |
[INFO] [stdout] 124 |     fireVE: MultiFireVE
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `fire_ve`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eFunction` should have a snake case name
[INFO] [stdout]    --> src/fleet.rs:130:4
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn eFunction(x: f64, c: f64) -> f64 {
[INFO] [stdout]     |    ^^^^^^^^^ help: convert the identifier to snake case: `e_function`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `mass_coef` should have an upper case name
[INFO] [stdout]    --> src/fleet.rs:231:15
[INFO] [stdout]     |
[INFO] [stdout] 231 |         const mass_coef: f64 = 1.;
[INFO] [stdout]     |               ^^^^^^^^^ help: convert the identifier to upper case: `MASS_COEF`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcXuHKQz/symbols.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.lgh.843d2692-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc.4mdjvcz2xidyb73p.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libitertools-880a78c1c498d46c.rlib" "/opt/rustwide/target/debug/deps/libeither-8ed8bc54e89b5c30.rlib" "/opt/rustwide/target/debug/deps/libvecmat-5b1179c0dea2544a.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-46bf0f55a2020221.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-86c7cc854798781f.rlib" "/opt/rustwide/target/debug/deps/librand-60eb91ffe11c5084.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-616fdfad950fee4f.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-5e6fdfabf1edbf66.rlib" "/opt/rustwide/target/debug/deps/librand_core-59cda2f8ef6130c4.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-250bd0a1bdf69a8a.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-90e3626e3c41eec3.rlib" "/opt/rustwide/target/debug/deps/libapprox-e11a7ebd4f2bb3a2.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-a3d1dbf15d2cfb51.rlib" "/opt/rustwide/target/debug/deps/libsdl2-fab643543036b34c.rlib" "/opt/rustwide/target/debug/deps/libc_vec-94b960b6ea18a1a5.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-60a4d153e39d1f5f.rlib" "/opt/rustwide/target/debug/deps/libbitflags-05dfd5b5d1225bed.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b33cd6b8ee13db74.rlib" "/opt/rustwide/target/debug/deps/liblibc-602a8278b8823756.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9a675e4c0b2cd6d0.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e3f6eac8ce8ba973.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-2ffa3867147f09fb.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-35bed922aa32bbbd.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-ef53e65a7b7a39e5.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1958e7589a0c42f1.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8c399cda3a205286.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-200a824b7fd3ccbb.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-ed4f57a507f0fd5e.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-3ea91f47fd49275a.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-1cb2e84ee1721c57.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ef26b6b8a99daec3.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5e482ea522915d9c.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a9e7dd5405efd2c.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f728cf9374526084.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b5714e1182296022.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69100093739463c8.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-95c4e3e80ce883d8.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d83ba1fe54f1e3d0.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9e21114b6170ad54.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_ttf" "-lSDL2_gfx" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/lgh-455edca430e268bc" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lSDL2_ttf
[INFO] [stdout]           /usr/bin/ld: cannot find -lSDL2_gfx
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 62 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lgh` due to 2 previous errors; 62 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ed4a0ab79389b0e52ac4ce22895275e1de76b8ce2080ae87943053e9a638ba63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed4a0ab79389b0e52ac4ce22895275e1de76b8ce2080ae87943053e9a638ba63", kill_on_drop: false }`
[INFO] [stdout] ed4a0ab79389b0e52ac4ce22895275e1de76b8ce2080ae87943053e9a638ba63
